﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/Member.master" AutoEventWireup="true"
    CodeFile="MyProfile.aspx.cs" Inherits="MyProfile" %>

<%@ Register src="Controls/wucDatePicker.ascx" tagname="DatePicker" tagprefix="symbonix" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphBodyContent" runat="Server">
    <table width="100%" cellpadding="0" cellspacing="0">
        <tr>
            <td style="width: 180px; vertical-align:top;">
                <%--1st column--%>
            </td>
            <td style="width: 10px">
            </td>
            <td style="vertical-align:top;">
                <table width="100%" cellpadding="3" cellspacing="3">
                    <tr>
                        <td colspan="2">
                            <symbonix:ResponseMessage ID="responseMessage" runat="server"></symbonix:ResponseMessage>
                            <asp:ValidationSummary ID="vsmry" CssClass="ValidationGroupErrors" runat="server" ShowMessageBox="false" ShowSummary="true" DisplayMode="BulletList" HeaderText="You have missed the followings:"  />
                        </td>
                    </tr>
                    <tr>
                        <td class="form_sub_title" colspan="2">
                            Basic Information
                        </td>
                    </tr>
                    <asp:PlaceHolder runat="server" ID="phdrBasicInfoView">
                    <tr>
                        <td colspan="2" align="right">
                            <asp:LinkButton runat="server" class="color_text_bright_blue" Font-Bold="true" 
                                ID="lbtnEdit" Text="Edit" onclick="lbtnEdit_Click" ></asp:LinkButton>
                        </td>
                    </tr>
                    <tr>
                        <td class="input_label" style="width:90px">Name</td>
                        <td><asp:Label runat="server" ID="lblFullName"></asp:Label> </td>
                    </tr>
                    <tr>
                        <td class="input_label">Gender</td>
                        <td><asp:Label runat="server" ID="lblGender"></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="input_label">Date of Birth</td>
                        <td><asp:Label runat="server" ID="lblDOB"></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="input_label">Area</td>
                        <td><asp:Label runat="server" ID="lblArea"></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="input_label">City</td>
                        <td><asp:Label runat="server" ID="lblCity"></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="input_label">Zip Code</td>
                        <td><asp:Label runat="server" ID="lblZip"></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="input_label">Country</td>
                        <td><asp:Label runat="server" ID="lblCountry"></asp:Label></td>
                    </tr>
                    </asp:PlaceHolder>
                    <asp:PlaceHolder runat="server" ID="phdrBasicInfoEdit">
                    <tr>
                        <td class="input_label" style="width:90px">First Name</td>
                        <td><asp:TextBox runat="server" ID="tbxFirstName" Width="200px"></asp:TextBox> </td>
                    </tr>
                    <tr>
                        <td class="input_label">Last Name</td>
                        <td><asp:TextBox runat="server" ID="tbxLastName" Width="200px"></asp:TextBox> </td>
                    </tr>
                    <tr>
                        <td class="input_label">Gender</td>
                        <td>
                            <asp:RadioButtonList runat="server" ID="rblGender" RepeatLayout="Flow" RepeatDirection="Horizontal">
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td class="input_label">Date of Birth</td>
                        <td>
                            <symbonix:DatePicker ID="dpkrDOB" runat="server" YearFrom="1900" YearTo="2010" />
                        </td>
                    </tr>
                    <tr>
                        <td class="input_label">Area</td>
                        <td><asp:TextBox runat="server" ID="tbxArea" Width="200px"></asp:TextBox> </td>
                    </tr>
                    <tr>
                        <td class="input_label">City</td>
                        <td><asp:TextBox runat="server" ID="tbxCity" Width="200px"></asp:TextBox> </td>
                    </tr>
                    <tr>
                        <td class="input_label">Zip Code</td>
                        <td><asp:TextBox runat="server" ID="tbxZip" Width="100px"></asp:TextBox> </td>
                    </tr>
                    <tr>
                        <td class="input_label">Country</td>
                        <td><symbonix:CountryDropDownList runat="server" ID="ddlCountry" UseFirstItem="true"></symbonix:CountryDropDownList></td>
                    </tr>
                    <tr>
                        <td colspan="2" align="right">
                            <asp:LinkButton runat="server" ID="lnbUpdate" CssClass="blue_button" 
                                Text="Update" onclick="lnbUpdate_Click" ></asp:LinkButton>
                            &nbsp;
                            <asp:LinkButton runat="server" ID="lnbCancel" CssClass="blue_button" 
                                Text="Cancel" onclick="lnbCancel_Click" ></asp:LinkButton>
                        </td>
                    </tr>
                    </asp:PlaceHolder>
                </table>
                
            </td>
            <td style="width: 10px">
            </td>
            <td style="width: 155px; vertical-align:top;">
                <%--3rd column--%>
            </td>
        </tr>
    </table>
</asp:Content>
